package cn.yunyichina.provider.clinic.vo;

import cn.yunyichina.provider.framework.annotation.validate.AnnotationValidable;
import cn.yunyichina.provider.framework.annotation.validate.ValidateNotNullAndNotEmpty;
import cn.yunyichina.provider.framework.annotation.validate.ValidateSize;

/**
 * Created by JoeZ on 2017/3/2.
 */
public class AsmOrderRefundRequest implements AnnotationValidable {

    @ValidateSize(minSize = "0", maxSize = "64")
    private String psOrdnum;

    @ValidateNotNullAndNotEmpty
    @ValidateSize(minSize = "0", maxSize = "64")
    private String yytOrderNo;

    @ValidateSize(minSize = "0", maxSize = "64")
    private String outOrderNo;

    @ValidateNotNullAndNotEmpty
    @ValidateSize(minSize = "0", maxSize = "28")
    private Integer refundAmout;

    @ValidateNotNullAndNotEmpty
    @ValidateSize(minSize = "0", maxSize = "50")
    private String refundTime;

    @ValidateNotNullAndNotEmpty
    @ValidateSize(minSize = "0", maxSize = "100")
    private String refundReason;

    @ValidateNotNullAndNotEmpty
    @ValidateSize(minSize = "0", maxSize = "2")
    private Integer partialOrAllrefund;

    @ValidateNotNullAndNotEmpty
    @ValidateSize(minSize = "0", maxSize = "5")
    private String payMode;

    public String getPsOrdnum() {
        return psOrdnum;
    }

    public void setPsOrdnum(String psOrdnum) {
        this.psOrdnum = psOrdnum;
    }

    public String getYytOrderNo() {
        return yytOrderNo;
    }

    public void setYytOrderNo(String yytOrderNo) {
        this.yytOrderNo = yytOrderNo;
    }

    public String getOutOrderNo() {
        return outOrderNo;
    }

    public void setOutOrderNo(String outOrderNo) {
        this.outOrderNo = outOrderNo;
    }

    public Integer getRefundAmout() {
        return refundAmout;
    }

    public void setRefundAmout(Integer refundAmout) {
        this.refundAmout = refundAmout;
    }

    public String getRefundTime() {
        return refundTime;
    }

    public void setRefundTime(String refundTime) {
        this.refundTime = refundTime;
    }

    public String getRefundReason() {
        return refundReason;
    }

    public void setRefundReason(String refundReason) {
        this.refundReason = refundReason;
    }

    public Integer getPartialOrAllrefund() {
        return partialOrAllrefund;
    }

    public void setPartialOrAllrefund(Integer partialOrAllrefund) {
        this.partialOrAllrefund = partialOrAllrefund;
    }

    public String getPayMode() {
        return payMode;
    }

    public void setPayMode(String payMode) {
        this.payMode = payMode;
    }
}
